package helper;

public class ValidHelper {
	public static void ValidParams(String urlString, String companyNo, String loginName, String privateKey) throws Exception {
		if(urlString.isEmpty()) throw new Exception("urlString 不能为空！");
		if(companyNo.isEmpty()) throw new Exception("companyNo 不能为空！");
		if(loginName.isEmpty()) throw new Exception("loginName 不能为空！");
		if(privateKey.isEmpty()) throw new Exception("privateKey 不能为空！");
	}
}
